package com.kc.business.domain;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * TODO
 * 物流
 *
 * @author zhangshuo
 * @version 1.0
 * @date 2020/10/15
 */
@Data
@Table(name = "kc_shipping")
public class BizShipping {
    @Id
    private Integer shippingId;
    /**
     * 景区视频
     */
    @NotBlank(message = "物流编码不能为空")
    private String code;
    /**
     * 景区视频
     */
    @NotBlank(message = "物流名称不能为空")
    private String name;

    @NotNull(message = "状态不能为空")
    private Integer status;
}
